import {createApp,h} from 'vue';
import {setLocale,languages} from 'powerful-ui/pc-default';
import {RouterView} from 'vue-router';
import router from './router';

setLocale(languages.zhCn);
const app=createApp({
	render(){
		return h(RouterView);
	},
});

app.use(router);
app.config.performance=process.env.NODE_ENV==='development';

const container=document.createElement('div');
container.id=process.env.packageName+'-app';
document.body.appendChild(container);

app.mount(container);